package com.project.bean;

import java.time.LocalDate;

public class StudentBean {
    private String name;
    private Integer id;
    private LocalDate birthday;
    public StudentBean(){

    }

    public StudentBean(String name, Integer id, LocalDate birthday) {
        this.name = name;
        this.id = id;
        this.birthday = birthday;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "StudentBean{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", birthday=" + birthday +
                "}\n";
    }
}
